package xcmg.device.dao.mapper.order;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import xcmg.device.dao.entity.order.SubcontractingOrderDetailDO;
import xcmg.device.service.vo.order.SubcontractingOrderDetailVO;

import java.util.List;

/**
 * 转包单明细表 Mapper
 */
@Mapper
public interface SubcontractingOrderDetailMapper {

    List<SubcontractingOrderDetailVO> queryList(@Param(value = "wrap") SubcontractingOrderDetailVO wrap);

    int save(SubcontractingOrderDetailDO model);

    int updateNotNullByPrimaryKeySelective(SubcontractingOrderDetailDO bean);

    int deleteByPrimaryKeySelective(long id);

    List<SubcontractingOrderDetailVO> queryList4LabelAmount(@Param(value = "wrap") SubcontractingOrderDetailVO p);
}

